package com.zhkj.txg.module.mine.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class WithdrawConfigResponse(
    val data: WithdrawConfigEntity? = null
) : BaseResponse()

data class WithdrawConfigEntity(
    val money: String,
    @SerializedName("is_open")
    val canWithdraw: String = "0",
    @SerializedName("service_ratio")
    val serviceRatio: String = "0",
    @SerializedName("min_service_money")
    val minServiceMoney: String = "0",
    @SerializedName("max_service_money")
    val maxServiceMoney: String = "0",
    @SerializedName("min_cash")
    val minWithdrawAmount: String = "0",
    @SerializedName("max_cash")
    val maxWithdrawAmount: String = "0",
    @SerializedName("__token__")
    val withdrawToken: String = "",
    @SerializedName("bind_wechat")
    var isBindWeChat: Boolean = false,
    @SerializedName("wechat_account")
    var weChatAccount: String = "",
    @SerializedName("bind_alipay")
    var isBindAliPay: Boolean = false,
    @SerializedName("alipay_account")
    var aliPayAccount: String = ""
)